package cn.hou.redis;

import redis.clients.jedis.Jedis;

public class Test01 {
	
	
	/**
	 * 测试联通
	 */
	public static void main(String[] args) {
		//绑定ip,端口
		Jedis jedis=new Jedis("192.168.133.128", 6379);
		//授权密码֤
		jedis.auth("123456");
		System.out.println(jedis.ping());//测试是否联通,pong即为成功
	}

}
